package Zuoye;

import java.util.Scanner;

public class Dengji {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入成绩");
        int a= sc.nextInt();
       if(a>=80&&a<=100) {
           System.out.println("A");
       } else if (a>=70&&a<80) {
           System.out.println("B");
       } else if (a>=60&&a<70) {
           System.out.println("C");
       }else {
           System.out.println("D");
       }
    }
}
